Transparent First-class Futures and Distributed Components
نویسندگان
چکیده
Futures are special kind of values that allow the synchronisation of different processes. Futures are in fact identifiers for promised results of function calls that are still awaited. When the result is necessary for the computation, the process is blocked until the result is returned. We are interested in this paper in transparent first-class futures, and their use within distributed components. We say that futures are transparent if the result is automatically and implicitly awaited upon the first access to the value; and that futures are first-class if they can be transmitted between components as usual objects. Thus, because of the difficulty to identify future objects, analysing the behaviour of components using first-class transparent futures is challenging. This paper contributes with first a static representation for futures, second a means to detect local deadlocks in a component system with first class futures, and finally extensions to interface definitions in order to avoid such deadlocks.
منابع مشابه
The Relationship Between Non-Transparent Financial Reporting and Risk Stock Futures Fall Due to the Size and Performance
The purpose of this study was to investigate the relationship between stock futures fall risk with non-transparent financial reporting at three levels of size, efficiency and return on equity, in the period 2010 to 2014 was in Tehran Stock Exchange. The population of the study are all companies listed in Tehran Stock Exchange. Data collected and calculated by using Excel software Eviews 7 been ...
متن کاملFirst-class Futures: a Study of Update Strategies
Futures enable an efficient and easy to use programming paradigm for distributed applications. A natural way to benefit from distribution is to perform asynchronous invocations to methods or services. Upon invocation, a request is en-queued at the destination side and the caller can continue its execution. But a question remains: “what if one wants to manipulate the result of an asynchronous in...
متن کاملDuck Futures: A Generative Approach to Transparent Futures
Futures offer a convenient abstraction for encapsulating delayed computation. It is a mechanism to introduce concurrency through a rewrite of the sequential program. However, managing futures is tedious and requires knowledge of concurrency and its concerns. The notion of transparent futures is used to hide the complexity of futures from developers. A number of techniques based on transparency ...
متن کاملFirst Class Futures: Specification and Implementation of Update Strategies
A natural way to benefit from distribution is via asynchronous invocations to methods or services. Upon invocation, a request is enqueued at the destination side and the caller can continue its execution. But a question remains: “what if one wants to manipulate the result of an asynchronous invocation?” First-class futures provide a transparent and easy-to-program answer: a future acts as the p...
متن کاملData Futures in DISCWorld
Data futures in a metacomputing system refer to data products that have not yet been created but which can be uniquely named and manipulated. We employ data flow mechanisms expressed as high level task graphs in our DISCWorld metacomputing system. Nodes in these task graphs can themselves be expanded into further task graphs or can be represented as futures in the processing schedule. We find t...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 260 شماره
صفحات -
تاریخ انتشار 2010